<template>
  <div id="app">
    <img id="logo" class="box1" alt="ReDuYun logo" src="../src/images/热度云-logo.png">

    <nav>
      <h2 class="box2">Jacoco报告</h2>
      <router-link to="/">最新报告</router-link> |
      <router-link to="/about">历史报告</router-link>
    </nav>
    <router-view/>
  </div>
</template>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  margin-left: -910px;
  margin-top: -60px;
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
img{
  width: 45px;
  height: 45px;

}
.box1{
  margin-top: -2px;
  margin-left: -1210px;
}
.box2{
  margin-left: -70px;
  margin-top: -10px;
}

</style>
<script setup>
</script>
